﻿<%@ Page Title="TFEB | Installation Configuration" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Install.aspx.cs" Inherits="TeamFoundation.EventBus.Install" %>
<asp:Content ID="Content1" ContentPlaceHolderID="_coreContent" runat="server">
    <p class="intro">
    Team Foundation Event Bus needs to configure a set of databases in order to
    function correctly. Please fill in the installation details and
    click install.</p>
    <h2 runat="server">Installation Details</h2>
    <table runat="server">
        <tr>
            <td>Database Server:</td>
            <td><asp:TextBox runat="server" ID="_dbServer" Text="localhost"/></td>
            <td>Fill in the name of the SQL server that you wish to install the database on.</td>
        </tr>
        <tr>
            <td>Database Name:</td>
            <td><asp:TextBox runat="server" ID="_dbName" Text="tfeb"/></td>
            <td>Fill in the name of the database that you wish to use.</td>
        </tr>
        <tr>
            <td>TFS Server:</td>
            <td><asp:TextBox runat="server" ID="_tfServer" Text="http://localhost:8080"/></td>
            <td>Fill in the name of the configured TFS server.</td>
        </tr>
        <tr>
            <td>TFS Account Name:</td>
            <td><asp:TextBox runat="server" ID="_tfAccount" Text="domain\tfsservice"/></td>
            <td>Fill in the name of the configured TFS service account.</td>
        </tr>
        <tr>
            <td>(Re)create Database:</td>
            <td><asp:CheckBox runat="server" ID="_dbCreate" Checked="true" /></td>
            <td>Tick this box to create or recreate the database.</td>
        </tr>
        <tr>
            <td>(Re)create Tables:</td>
            <td><asp:CheckBox runat="server" ID="_dbTables" Checked="true" /></td>
            <td>Tick this box to create or recreate the tables.</td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:LinkButton ID="_installButton" runat="server" Text="Install" OnClick="_installButton_Click"/>
            </td>
        </tr>
    </table>
</asp:Content>